
 <!DOCTYPE html>
<html>
<!--Made By kailuosoft.com, TEL 171 9992 9517 -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>凯络科技后台管理系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">
	<link href="__PUBLIC__/css/page.css" rel="stylesheet">
    <link href="__PUBLIC__/css/new.css" rel="stylesheet">
	
	<script src="__PUBLIC__/js/jquery.min63b9.js?v=2.1.4"></script>
    <script src="__PUBLIC__/js/plugins/layer/layer.min.js"></script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  
  <style>
     .table>tbody>tr>td{white-space:normal}
  </style>

</head>

<body class="gray-bg">
    <div class="animated fadeInRight">
         
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
					     
						<form id="mergeform" method="post" action="{:U('order_merge_edit')}">
                        <input type='hidden' name='tids' id='tids'>
                        <input type='hidden' name='oids' id='oids'>
                        <div style='height:300px;overflow:auto;'>
                            <table class="table table-bordered table-striped table-hover">
                                <thead>
                                    <tr>
                                        <th><input class="check-all" type="checkbox" value="" checked/></th>
                                        <th>收货人</th>
                                        <th>订单号</th>
                                        <th>付款时间</th>
                                        <th>产品编码</th>
                                        <th>数量</th>
                                        <th>实发</th>
                                        <th>金额</th>
                                        <th>卖家备注</th>
                                        <th>买家备注</th>
                                        <th>店铺名</th>
                                    </tr>
                                </thead>
                                <tbody>
                                 <foreach name="order_list" item="vo">
                                 <foreach name="vo.trades" item="trade" key='kt'>
                                   <foreach name="trade.orders" item="order" key="key">
                                    <tr>  
                                      <input class="oid" type="hidden" name="oid" value="{$order.oid}" />
                                      <if condition="$key eq 0">
                                        <td rowspan='{$trade.orders_count}'>
                                           <input class="i-checks" type="checkbox" name="ids" value="{$trade.tid}" orders_count='{$trade.orders_count}' checked/>
                                           <input class="tid" type="hidden" name="tid" value="{$trade.tid}" />
                                        </td>
                                        <td rowspan='{$trade.orders_count}' class='receiver' title='点击修改'>
                                           {$vo.receiver_name} <if condition=" $vo['orders_refund'] "><span style='background:#F806FD;color:white'>退</span></if>
                                        </td>
                                        <td rowspan='{$trade.orders_count}' style="color:<?php echo $order['oid']==$order['tid']?'':'red' ?>" >{$trade.tid}</td>
                                        <td rowspan='{$trade.orders_count}'>{$trade.pay_time}</td>
                                      </if>
                                        <td>{$order.outer_iid} </td>      
                                        <td>{$order.num}</td>
                                        <td class='' nameval='shifa' width='50px'>{$order.shifa}</td>
                                       
                                      <if condition="$key eq 0">
                                        <td rowspan='{$trade.orders_count}'>{$trade.payment}</td>
                                        <td rowspan='{$trade.orders_count}'>
                                            {$vo.seller_memo}
                                           <if condition=" !empty($vo['seller_flag']) "><img src="__PUBLIC__/img/flag/op_memo_{$vo.seller_flag}.png"></if>
                                        </td>
                                        <td rowspan='{$trade.orders_count}'>{$trade.buyer_memo}</td>
                                        <td rowspan='{$trade.orders_count}'>{$trade.shop}</td>
                                      </if>
                                         
                                  </tr>
                                  </foreach> 
                                 </foreach>
                                </foreach>
                                </tbody>
                            </table>
                            
                        </div>
                        <br>
                        <table class="table table-bordered table-striped table-hover">
                            <thead>
                                <tr>
                                    <th>收货人</th>
                                    <th>收货地址</th>
                                </tr>
                            </thead>
                               <tr>
                                    <td>{$receiver.receiver_name}</td>
                                    <td>{$receiver.receiver_state} {$receiver.receiver_city} {$receiver.receiver_district} {$receiver.receiver_towne} {$receiver.receiver_address}</td>
                                </tr>
                            <tbody>
                            </tbody>
                        </table>
                        
			          </form>
						

                    </div>
                </div>
            </div>
             
        </div>
         
    </div>
    <script src="__PUBLIC__/js/jquery.min63b9.js?v=2.1.4"></script>
    <script src="__PUBLIC__/js/bootstrap.min14ed.js?v=3.3.6"></script>
    <script src="__PUBLIC__/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="__PUBLIC__/js/content.mine209.js?v=1.0.0"></script>
    <script src="__PUBLIC__/js/plugins/iCheck/icheck.min.js"></script>
    <script src="__PUBLIC__/js/demo/peity-demo.min.js"></script>
	<script src="__PUBLIC__/js/plugins/layer/laydate/laydate.js"></script>
    <script>
		
	
	
        $(document).ready(function(){$(".i-checks").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",})});
		 $(document).ready(function () {
		
            $('.check-all').iCheck({
			 
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
		
	
	$(document).ready(function() {
    $('.check-all').on('ifChecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定 
    	  $('.i-checks').iCheck('check');
    	});

    $('.check-all').on('ifUnchecked', function(event){ //ifCreated 事件应该在插件初始化之前绑定 
    	  $('.i-checks').iCheck('uncheck');
    	});
		
	function get_tids()
	{   
	    tids='';
		$('.i-checks').each(function(){
			if($(this).prop('checked'))
			{
				tids+=$(this).val()+',';
			}
		})
	}
     
    
});
    </script>
    <div style="display:none"><script language="javascript" type="text/javascript" src="http://js.users.51.la/17825721.js"></script>
<noscript><a href="http://www.51.la/?17825721" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/17825721.asp" style="border:none" /></a></noscript></div>
</body>
<!--Made By kailuosoft.com, TEL 171 9992 9517 -->
<script  type="text/javascript"  src="http://g.tbcdn.cn/sj/securesdk/0.0.3/securesdk_v2.js"  id="J_secure_sdk_v2" data-appkey="23416550"></script>
</html>
